/*!
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

@import './variables.scss';
@import './element-ui.scss';
@import './top.scss';
@import './btn.scss';
@import './tags.scss';
@import './mixin.scss';
@import './sidebar.scss';
/*禁止复制
{
	webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
}*/

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

@include scrollBar();
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

body {
  min-width: 1300px;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei";
  line-height: 2;
}

html,
body {
  height: 100%;
}

fieldset,
img {
  border: 0;
}

ol,
ul {
  list-style: none;
}

em {
  font-style: normal;
}

input,
button,
select,
textarea {
  outline: none;
}

textarea {
  resize: none;
}

//禁用了文本的拖拉，尤其在谷歌下
p {
  text-align: justify;
  text-justify: distribute;
}

//为了使文本段落左右两边对齐
p {
  word-wrap: break-word
}

a {
  text-decoration: none;
}

i {
  display: inline-block;
}

/*a:hover { color: #f60; text-decoration:none; }*/

address,
cite,
code,
em,
th {
  font-weight: normal;
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

/*a:link{color:#009;}*/

/*a:visited{color:#800080;}*/

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.hidden {
  display: none;
}

.padding {
  padding: 0 !important;
}

.margin {
  margin: 0 !important;
}

.pull-right {
  float: right !important;
  ;
}

.pull-left {
  float: left !important;
}

.pull-center {
  text-align: center;
}

.pull-flex {
  display: flex;
}

.pull-overflow {
  overflow: hidden;
}

.pull-auto {
  height: auto;
  overflow: hidden;
}

.pull-height {
  height: 100%;
  overflow: hidden;
}

.pull-fixed {
  position: fixed;
  left: 0;
  top: 0;
}

.text-white {
  color: #fff;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
} //main-container全局样式
.app-main {
  min-height: 100%
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

.app-container {
  padding: 20px;
  box-sizing: border-box;
}

// 客户管理
@mixin margin_global{
  margin: 0px 0px 0px 0px;
}
@mixin container_global {
  width: 100%;
  min-height:80vh;
  background-color: #f7f7f7;
  position: relative;
  box-shadow: 5px 5px 5px #f3f7ff;
  overflow: hidden;
}
@mixin background_global {
    width: 85vw;
    height: auto;
    margin: 50px 0px 50px 10px;
    padding: 0px 0px 5vh 0px; 
    background: #F3F7FF;
    border: 1px solid #f3f7ff;
}
@mixin display_global{
    height: 50%;
    display: flex;
    justify-content: space-around;
}
@mixin title_global {
    height: 30px;
    width: auto;
    line-height: 30px;
    text-align: left;
    margin: 23px 0px 15px 14px;
    padding-left: 5px;
    font-size: 1.3rem;
    font-weight: bolder;
    border-left: 4px solid lightskyblue;
}
@mixin customer_title_global {
    height: 20px;
    line-height: 20px;
    text-align: left;
    margin: 10px 0px 0px 14px;
    padding-left: 5px;
    font-size: 0.8rem;
    border-left: 4px solid lightskyblue;
}

@mixin  ul_global {
    width: 80vw;
    list-style: none;
    height: 40px;
    text-align: left;
    line-height: 40px; 
    padding-left: 1vw;    
}
@mixin  li_global {
    display: inline-block;
    padding-left: 1vw;
    
}
@mixin pad_global {
    width: 7vw;
    padding-top: 2vh;
    padding-left:2vw;
    text-align: center;
}
@mixin border_global {
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;
}
@mixin list_global {
    min-height:12vh;
    width: 13.2vw; 
}
// 社交账号
@mixin tianmao-global {
    width: 85vw;
    min-height: 30vh;
    border: 2px solid #F7F9FC;
    background-color: #fff;
}
@mixin shop_detail {
    width: auto;
    height: 10vh;
    margin-left: 1vw;
    margin-top: 5vh;
}
// 客户筛选——新建客户
@mixin condition_box_global {
    width: 100%;
    height: auto;
    margin-bottom: 1vh;
}
@mixin mark_global {
    display: inline-block;
    width: 10px;
    height: 10px;
    color: #fff;
    border-radius: 50%;
    position: absolute;
    margin: 15px 0px 0px 10px;
    background-color: #52a760;
}

// 忠诚度管理
@mixin Integral_title_global{
    height: 25px;
    line-height: 25px;
    text-align: left;
    margin: 0px 0px 0px 20px;
    padding-left: 5px;
    font-size: 0.78rem;
    border-left: 5px solid #ff9900;
}

// 客户RFM报表
@mixin table_border_global_right {
    color: #fff;
    font-size: 15px;
    background-color: #4f81bd;
    border-right: 1px solid #e8edf1;
}

// 分页
@mixin page_global {
    width: 80vw;
    height: 60px;
    margin-top: 2vh;
    display: flex;
    justify-content: center;
}

// 订单列表
@mixin order_border_global_right {
    border-bottom: 1px solid #e8edf1;
    border-right: 1px solid #e8edf1;
}


// 客户分组
@mixin component_global_stlye {
    width: 98%;
    height: 15vh;
    margin: 0 auto;
    margin-top: 1%;
    border: 1px solid #e2e2e2;
    background-color: #f7f7f7;
}
@mixin component_box_header {
    width: 100%;
    height: 5vh;
    line-height: 30px;
    border-bottom: 1px solid #e2e2e2;
}
@mixin component_box_nav {
    background-color: #f7f7f7;
    padding-left: 10px;
    border-bottom: 1px solid #e2e2e2;
}
@mixin component_box_btn_del {
    padding: 0px 1vw 0px 0px;
    border: none;
    outline: none;
    background-color: #f7f7f7;
    text-align: center;
    &:hover{
        cursor: pointer;
    }
}
